package com.lear.rrbus.utils;

import android.text.InputFilter;

public final class Utils {
	public static boolean DEBUG = true;
	public static boolean ISLEAR = false;
	public static boolean NEEDBROWSER = false;
	public static boolean ISAUTOREF = true;

	public static final int TIMEOUT = 30;
	public static final int AUTOTIME = 40;
	public static final int SCROLLS = 7;

	public static final int UPDATEUI = 0;
	public static final int REFRESH = 2;
	public static final int DISPLAYTOAST = 1;

	public static final int SEARCH_LINE = 0;
	public static final int SEARCH_STATION = 1;
	public static final int SEARCH_BUS = 2;
	public static final int SEARCH_WEB = 3;

	public static final String TAG = "BUSNOW";
	public static final String APPNAME = "BUS";
	public static final String ENCODING = "UTF-8";
	public static final String BROWSE = "BROWSE";
	public static final String BROWSER = "BROWSER";
	public static final String AUTOREF = "AUTOREF";
	public static final String NIGHTMODE = "MODE";
	public static final String REFTIME = "REFTIME";
	public static final String REFSELECTED = "REFRESHSELECTED";
	public static final String STOREDLINE = "STOREDLINE";
	public static final String STOREDSTATION = "STOREDSTATION";
	public static final String STOREDALAEM = "STOREDALAEM";
	public static final String NEEDLOADLINE = "NEEDLOADLINE";
	public static final String SELECTED = "SELECTEDSTATION";
	public static final String SEARCHKEY = "SEARCHKEY";
	public static final String ISALARM = "ISALARM";
	public static final String STATIONTAG = "站";

	public static final String DETAIL = "&detail=";
	public static final String REVERSE = "&reverse=";
	public static final String BUSRUNURL = "http://gzbusnow.sinaapp.com/index.php?c=busrunningv2&a=query&keyword=";
	public static final String STATIONURL = "http://gzbusnow.sinaapp.com/index.php?c=station&a=query&keyword=";

	public static final InputFilter[] autoUpCase = new InputFilter[] {
			new InputFilter.AllCaps(), new InputFilter.LengthFilter(10) };
}
